package com.cq.xjms.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

@Entity
@Table(name = "PRIVILEGE")
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public class Privilege extends BaseEntity{

	private static final long serialVersionUID = 1249897747012272401L;
	@Column(name = "PRI_ID", length = 5, nullable = false, unique = true)
	private int prvId; //具体权限ID 
	@Column(name = "NAME", length = 30, nullable = false)
	private String name; //具体权限名称
	@Column(name = "VALUE", length = 30, nullable = false)
	private String value; //具体权限值设置
	public int getPrvId() {
		return prvId;
	}
	public void setPrvId(int prvId) {
		this.prvId = prvId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	
	
	
}
